package com.bt.table.ppt;

/**
 * Bpm_bis_pathiId entity. @author MyEclipse Persistence Tools
 */

public class Bpm_bis_pathiId implements java.io.Serializable {

	// Fields

	private String bpm_path_id;
	private String bpm_path_ver;

	// Constructors

	/** default constructor */
	public Bpm_bis_pathiId() {
	}

	/** full constructor */
	public Bpm_bis_pathiId(String bpm_path_id, String bpm_path_ver) {
		this.bpm_path_id = bpm_path_id;
		this.bpm_path_ver = bpm_path_ver;
	}

	// Property accessors

	public String getBpm_path_id() {
		return this.bpm_path_id;
	}

	public void setBpm_path_id(String bpm_path_id) {
		this.bpm_path_id = bpm_path_id;
	}

	public String getBpm_path_ver() {
		return this.bpm_path_ver;
	}

	public void setBpm_path_ver(String bpm_path_ver) {
		this.bpm_path_ver = bpm_path_ver;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bpm_bis_pathiId))
			return false;
		Bpm_bis_pathiId castOther = (Bpm_bis_pathiId) other;

		return ((this.getBpm_path_id() == castOther.getBpm_path_id()) || (this
				.getBpm_path_id() != null && castOther.getBpm_path_id() != null && this
				.getBpm_path_id().equals(castOther.getBpm_path_id())))
				&& ((this.getBpm_path_ver() == castOther.getBpm_path_ver()) || (this
						.getBpm_path_ver() != null
						&& castOther.getBpm_path_ver() != null && this
						.getBpm_path_ver().equals(castOther.getBpm_path_ver())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getBpm_path_id() == null ? 0 : this.getBpm_path_id()
						.hashCode());
		result = 37
				* result
				+ (getBpm_path_ver() == null ? 0 : this.getBpm_path_ver()
						.hashCode());
		return result;
	}

}